package com.dongdongshop.service;

import com.dongdongshop.page.PageResult;
import com.dongdongshop.pojo.TbContent;

import java.util.List;

public interface TbContentService {
    PageResult<TbContent> listContent(Integer pageNum, Integer pageSize);

    void addContent(TbContent content);

    TbContent selectContentById(Long id);

    void updateContent(TbContent content);

    void deleteConts(Long[] ids);

    List<TbContent> selectContentByCateId(Long id);
}
